Repository navigation
Conversation
The ffmpeg built through vcpkg links zlib on every architecture, so on aarch64 the linker pulls in libavformat's id3v2.o and uncompress stays unresolved. Passing -lz only on x86_64 leaves that link broken. Signed-off-by: Zakk <zakk@gentoozh.org>
|
No actionable comments were generated in the recent review. 🎉 ℹ️ Recent review info
📝 Walkthrough
Merge Risk: ⚪ Minimal · up to
|
link_os()addszonly whentarget_arch == "x86_64":https://github.com/rustdesk-org/hwcodec/blob/master/build.rs#L180-L185
The ffmpeg built through vcpkg links zlib on every architecture, which its own pkg-config file states for the arm64 triplet as well:
So on aarch64 the linker pulls in libavformat's
id3v2.oanduncompressstays unresolved:Dropping the architecture condition fixes the aarch64 link and changes nothing on x86_64, where
-lzwas passed already.target_archhas no other use inlink_os()afterwards.Summary by CodeRabbit